<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:template match="page_manager">
	<!--br/-->
	<script>
		function sub(form_name){
			alert( form_name );
			alert( document.all( form_name ) );
			document.all( form_name ).submit();
			//return false;
		}
	</script>
<table cellpadding="3" cellspacing="3" width="100%"><tr bgcolor="#f0f0f0"><td>
	<xsl:for-each select = "//page/page_manager/uniq_page">
	<xsl:if test="method='1'">			
		<!--<form name="{p_id}" action="admin_home.asp" method="post">-->
			<!--&#160;<a class="top" href="{url}?{form_p}" onclick="sub('{p_id}');return false;"><xsl:value-of select="p_id"/></a>-->
			&#160;<a class="top" href="{url}?{form_p}"><xsl:value-of select="p_id"/></a>
		<!--</form>-->
			<xsl:if test="string-length(p_id)>0">
				<font class="top2">>></font>
			</xsl:if>		
	</xsl:if>		
	<xsl:if test="method='0'">			
			&#160;<a class="top" href="{url}?{qs}"><xsl:value-of select="p_id"/></a>
			<xsl:if test="string-length(p_id)>0">
				<font class="top2">>></font>
			</xsl:if>		
	</xsl:if>		
	</xsl:for-each>
	&#160;<xsl:value-of select="//page/page_id"/>		
</td></tr></table>
</xsl:template>

</xsl:stylesheet>
